package com.qf.entity;

/**
 * 单位计量表
 *
 * @author yinjinlu
 * @date 2024-07-15
 */
public class MdUnitMeasure extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 单位ID
     */
    private Long measureId;

    /**
     * 单位编码
     */
    private String measureCode;

    /**
     * 单位名称
     */
    private String measureName;

    /**
     * 是否主单位(Y是 N否)
     */
    private String primaryFlag;

    /**
     * 与主单位换算比例
     */
    private Double changeRate;

    /**
     * 是否启用(Y是 N否)
     */
    private String enableFlag;

    /**
     * 备注
     */
    private String remark;

    public Long getMeasureId() {
        return measureId;
    }

    public void setMeasureId(Long measureId) {
        this.measureId = measureId;
    }

    public String getMeasureCode() {
        return measureCode;
    }

    public void setMeasureCode(String measureCode) {
        this.measureCode = measureCode;
    }

    public String getMeasureName() {
        return measureName;
    }

    public void setMeasureName(String measureName) {
        this.measureName = measureName;
    }

    public String getPrimaryFlag() {
        return primaryFlag;
    }

    public void setPrimaryFlag(String primaryFlag) {
        this.primaryFlag = primaryFlag;
    }

    public Double getChangeRate() {
        return changeRate;
    }

    public void setChangeRate(Double changeRate) {
        this.changeRate = changeRate;
    }

    public String getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(String enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "mdUnitMeasure{" +
                "measureId=" + measureId +
                ", measureCode='" + measureCode + '\'' +
                ", measureName='" + measureName + '\'' +
                ", primaryFlag='" + primaryFlag + '\'' +
                ", changeRate=" + changeRate +
                ", enableFlag='" + enableFlag + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
